package com.ruoyi.project.system.domain.dto;

/**
 * 接收前端提交的预约+问卷数据（适配平铺的 answer1~answer10）
 */
public class ResWithQueryDTO {
    private String name;
    private String identity;
    private String phone;
    private String departmentId; // 前端传字符串"101"，这里用String接收
    private String doctor;
    private String datetime;
    // 平铺的问卷答案字段（与前端完全对应）
    private String answer1;
    private String answer2;
    private String answer3;
    private String answer4;
    private String answer5;
    private String answer6;
    private String answer7;
    private String answer8;
    private String answer9;
    private String answer10;
    private String skipQuery;        // 问卷跳过状态（true=跳过，false=填写）
    private String doctorId;         // 医生ID（用于值班表扣减）
    private String appointmentDate;  // 预约日期（YYYY-MM-DD，用于值班表扣减）

    // 手动写getter/setter（无Lombok）
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getIdentity() { return identity; }
    public void setIdentity(String identity) { this.identity = identity; }
    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }
    public String getDepartmentId() { return departmentId; }
    public void setDepartmentId(String departmentId) { this.departmentId = departmentId; }
    public String getDoctor() { return doctor; }
    public void setDoctor(String doctor) { this.doctor = doctor; }
    public String getDatetime() { return datetime; }
    public void setDatetime(String datetime) { this.datetime = datetime; }
    public String getAnswer1() { return answer1; }
    public void setAnswer1(String answer1) { this.answer1 = answer1; }
    public String getAnswer2() { return answer2; }
    public void setAnswer2(String answer2) { this.answer2 = answer2; }
    public String getAnswer3() { return answer3; }
    public void setAnswer3(String answer3) { this.answer3 = answer3; }
    public String getAnswer4() { return answer4; }
    public void setAnswer4(String answer4) { this.answer4 = answer4; }
    public String getAnswer5() { return answer5; }
    public void setAnswer5(String answer5) { this.answer5 = answer5; }
    public String getAnswer6() { return answer6; }
    public void setAnswer6(String answer6) { this.answer6 = answer6; }
    public String getAnswer7() { return answer7; }
    public void setAnswer7(String answer7) { this.answer7 = answer7; }
    public String getAnswer8() { return answer8; }
    public void setAnswer8(String answer8) { this.answer8 = answer8; }
    public String getAnswer9() { return answer9; }
    public void setAnswer9(String answer9) { this.answer9 = answer9; }
    public String getAnswer10() { return answer10; }
    public void setAnswer10(String answer10) { this.answer10 = answer10; }
    public String getSkipQuery() {return skipQuery;}
    public void setSkipQuery(String skipQuery) {this.skipQuery = skipQuery;}
    public String getDoctorId() {return doctorId;}
    public void setDoctorId(String doctorId) {this.doctorId = doctorId;}
    public String getAppointmentDate() {return appointmentDate;}
    public void setAppointmentDate(String appointmentDate) {this.appointmentDate = appointmentDate;}
    @Override
    public String toString() {
    return "ResWithQueryDTO{" +
            "answer1='" + answer1 + '\'' +
            ", answer2='" + answer2 + '\'' +
            ", answer3='" + answer3 + '\'' +
            // ... 其他 answer 字段
            '}';
}
}